/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.yonsei.iwb.srf.classifier;

import java.util.Hashtable;
import java.util.Vector;

/**
 *
 * @author dk
 */
public class TestingResultOfTree {
    
    private Hashtable<Integer, Vector<String>> satisfiedSet;    
    private Hashtable<Integer, Vector<String>> unSatisfiedSet;
    
    public TestingResultOfTree(){
         this.satisfiedSet = new Hashtable();
         this.unSatisfiedSet = new Hashtable();
    }
    
    public void putUnsatisfiedSet(int parentNodeID, Vector<String> insset){
        this.unSatisfiedSet.put(parentNodeID, insset);
    }
    
    public void putSatisfiedSet(int parentNodeID, Vector<String> insset){
        this.satisfiedSet.put(parentNodeID, insset);
    }
    
    public Vector<String> getUnsatisfiedSet(int parentNodeID){
        return this.unSatisfiedSet.get(parentNodeID);
    }
    
    public Vector<String> getSatisfiedSet(int parentNodeID){
        return this.satisfiedSet.get(parentNodeID);
    }
    
    public boolean unSatisfiedContains(int nodeID){
        return this.unSatisfiedSet.containsKey(nodeID);
    }
    
}
